
<?php
foreach ($daftar as $value) {
    echo '<h2>' . anchor(site_url('listing/detail/'.$value->properti_id.'/'),$value->nama) .
            '</h2></a> kota: ' . $value->kota_kab . '</br>agen: ' . anchor(site_url('agen/detail/'.$value->user_id.'/'),$value->nama_lengkap);
}
?>

